<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <p>{{msg}}</p>
    <p v-text="msg"></p>
    <input v-model="msg" type="text" />
    <p v-html="html"></p>
    <p v-on:click="handleClick">click</p>
  </div>
  <script src="./miniVue/dep.js"></script>
  <script src="./miniVue/watcher.js"></script>
  <script src="./miniVue/compiler.js"></script>
  <script src="./miniVue/observer.js"></script>
  <script src="./miniVue/vue.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      data: {
        msg: 'Hello MiniVue',
        html: "<span style='color:red;'>abc</span>"
      },
      methods: {
        handleClick() {
          console.log(123, this)
          window.alert(13)
        }
      }
    })
  </script>
</body>
</html>